<!--
 * @Author: yeminglong
 * @Date: 2023-06-27 17:43:00
 * @LastEditTime: 2023-08-17 09:27:51
 * @LastEditors: yeminglong
 * @Description:
-->
<template>
  <div class="login-wrap">
    <div class="login-wrap-title">
      <span class="app-title-text" title="福田环境监测监控系统">
        福田环境监测监控系统
      </span>
    </div>
    <div class="login-wrap-form-box">
      <div class="right-title">
        <i class="el-icon-unlock"></i>
        欢迎登录
      </div>
      <LoginForm />
    </div>
    <div class="login-wrap-footer"></div>
  </div>
</template>

<script>
import LoginForm from './LoginForm.vue'

export default {
  components: {
    LoginForm
  },
  data() {
    return {}
  }
}
</script>

<style scoped lang="scss">
.login-wrap {
  height: 100%;
  overflow: hidden;

  min-width: 1400px;

  background: #46b9f0 url('./assets/images/login-bg-6388851.jpg') center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  z-index: 6;

  &:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeat-y url('./assets/images/ball-wed.svg') center center;
    //background: repeat-y url('./assets/images/ball-big.svg') center center;
    background-size: contain;
    z-index: 1;
    opacity: 0.6;
  }

  &:after {
    content: '';
    position: absolute;
    bottom: 180px;
    left: 0;
    width: 100%;
    height: 220px;
    background: repeat-y url('./assets/images/ball-big-2.svg') center center;
    //background: repeat-y url('./assets/images/ball-big.svg') center center;
    background-size: contain;
    z-index: 1;
    opacity: 0.6;
  }

  .login-wrap-title {
    position: relative;
    z-index: 66;
    height: 56px;
    text-shadow: 5px 5px 5px #023552;
    font-weight: bolder;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 120px;
    font-size: 48px;
    color: #ffffff;

    .logo {
      width: 30px;
      height: 30px;
      margin-right: 10px;
    }
  }

  .app-title-text {
    position: relative;

    &:after {
      content: '';
      position: absolute;
      width: 100%;
      height: 1px;
      bottom: -5px;
      left: 0;
      background-color: rgba(0, 0, 0, 0.18);
      /* box-shadow: 0px 0px 9px 2px #99c0da; */
      visibility: hidden;
      transform: scaleX(0);
      transition: 0.2s ease-in-out;
    }

    &:hover:after {
      visibility: visible;
      transform: scaleX(1);
    }
  }

  .login-wrap-form-box {
    position: relative;
    z-index: 66;
    padding: 50px 50px;
    color: white;
    margin: 180px auto 0 auto;

    width: 430px;
    border-radius: 3px;
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
    background-color: rgba(255, 255, 255, 0.175);
    box-shadow: rgba(0, 0, 0, 0.3) 1px 20px 16px 0px;
    border: 1px rgba(210, 203, 203, 0.4) solid;
    border-bottom: 1px rgb(10 40 40 / 19%) solid;
    border-right: 1px rgb(10 40 40 / 9%) solid;

    .right-title {
      font-size: 26px;
      color: #303133;
      font-weight: 400;
      text-align: center;
      margin-bottom: 25px;
      display: flex;
      justify-content: center;
      align-items: center;
      font-family: Consolas, Monaco;
      word-break: break-all;
      overflow: hidden;
      color: #ffffff;

      i {
        margin-right: 8px;
      }
    }
  }

  .login-wrap-footer {
    text-align: center;
    margin-top: 80px;
    color: #ffffff;
    position: relative;
    z-index: 68;
  }
}

.mt-10 {
  margin-top: 20px;
}

::v-deep .el-form-item--small.el-form-item {
  margin-bottom: 18px;
}
</style>
